package com.chen.org.mapper;

import com.chen.basic.mapper.BaseMapper;
import com.chen.org.domain.Department;
import com.chen.org.query.DepartmentQuery;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

@Repository
public interface DepartmentMapper extends BaseMapper<Department> {

    /**
     * 部门树
     * @return
     */
    List<Department> deptTree();
}
